package com.drinks.yiniang.entity.user.milepost;

import com.hansen.library.entity.BaseJson;

import java.util.List;

/**
 * 里程碑分享数据 json
 * @author han
 * @date 2019/12/9
 */
public class MilepostShareJson extends BaseJson {

    private MilepostShareData data;

    public MilepostShareData getData() {
        return data;
    }

    public void setData(MilepostShareData data) {
        this.data = data;
    }

    public static class MilepostShareData {
        private String username;
        private String avatar;
        //最喜欢的风格
        private String like_style;
        //雷达图
        private List<MilepostRadar> category_arr;
        //曲线
        private List<MilepostChart> line;

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getLike_style() {
            return like_style;
        }

        public void setLike_style(String like_style) {
            this.like_style = like_style;
        }

        public List<MilepostRadar> getCategory_arr() {
            return category_arr;
        }

        public void setCategory_arr(List<MilepostRadar> category_arr) {
            this.category_arr = category_arr;
        }

        public List<MilepostChart> getLine() {
            return line;
        }

        public void setLine(List<MilepostChart> line) {
            this.line = line;
        }
    }

    public static class MilepostRadar {
        private String category_id;
        private String total;
        private String category_name;

        public String getCategory_id() {
            return category_id;
        }

        public void setCategory_id(String category_id) {
            this.category_id = category_id;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public String getCategory_name() {
            return category_name;
        }

        public void setCategory_name(String category_name) {
            this.category_name = category_name;
        }
    }

    public static class MilepostChart {
        private String label;
        private String value;

        public String getLabel() {
            return label;
        }

        public void setLabel(String label) {
            this.label = label;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
